summon marker ~ ~ ~ {Tags:["battery_box"]}
scoreboard players set @e[type=marker,limit=1,sort=nearest,distance=..1] advm_power 0
setblock ~ ~ ~ chest{CustomName:'{"text":"Battery Box"}'}
summon item_frame ~ ~1 ~ {Tags:["wire"],Invisible:1b,Facing:1b,Item:{id:"arrow",Count:1b},ItemDropChance:0.0f}